<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="topBar.jsp"%>
<%@include file="leftBar.jsp"%>
<%@include file="bottomBar.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>新增用户</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css">
		/* #myForm{position: absolute;left: 700px;top: 300px;} */
		#myForm{border:1px solid #ccc;position:absolute;top:280px;left:490px;height:400px;}	
		/* #user{width:600px;line-height:24px;margin:60px -100px 0 100px;}*/ 
		#myForm>p{font-size:26px;color:#333;margin:-8px 0 0 506px;cursor:pointer;}  
		#user>tr{line-height:30px;}
	</style>
</head>

<body>
	<form action="UserServlet?opr=addUser" method="post" id="myForm">
		<p onclick="history.back();">×</p>
		<table id="user">
		<tr>
			<td>用户名称<input type="text" name="loginName" id="loginName"></td>
		</tr>
		<tr>
			<td>密       码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="password" id="password"><br></td>
		</tr>
		<tr>
			<td>
				真实姓名<input type="text" name="userName" id="userName">
			</td>
		</tr>
		<tr>
			<td>
				身份证号<input type="text" name="identityCode" id="identityCode"><br>
			</td>
		</tr>
		<tr>
			<td>
				性       别&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="sex" id="sex"><br>
			</td>
		</tr><tr>
			<td>
				邮       箱&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="email" id="email">
			</td>
		</tr>
		<tr>
			<td>
				手机号码<input type="text" name="mobile" id="mobile"><br>
			</td>
		</tr>
		<tr>
			<td>类       型&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<select name="type" id="type">
		   	     <option value="1">管理员</option>
		   	     <option value="0">普通会员</option>
		      </select><br>
			</td>
		</tr>
		<tr>
			<td>
				<input type="submit" value="新增用户">
			</td>
		</tr>
		</table>
	</form>
</body>
</html>
